<?php

class Field extends \Eloquent {

    protected $table = 'field';

	protected $fillable = [
            'name',
            'type',
            'display_name',
            'model_id',
    ];

    public function model(){
        return $this->belongsTo('Model', 'model_id', 'id');
    }


}